package com.atguigu.schedule.pojo;

import java.io.Serializable;
import java.util.Map;

/**
 * 密码重置请求DTO
 */
public class PasswordResetRequest implements Serializable {
    private String username;
    private String newPassword;
    private Map<String, String> answers;
    
    public PasswordResetRequest() {}
    
    public PasswordResetRequest(String username, String newPassword, Map<String, String> answers) {
        this.username = username;
        this.newPassword = newPassword;
        this.answers = answers;
    }
    
    public String getUsername() {
        return username;
    }
    
    public void setUsername(String username) {
        this.username = username;
    }
    
    public String getNewPassword() {
        return newPassword;
    }
    
    public void setNewPassword(String newPassword) {
        this.newPassword = newPassword;
    }
    
    public Map<String, String> getAnswers() {
        return answers;
    }
    
    public void setAnswers(Map<String, String> answers) {
        this.answers = answers;
    }
}